/*下方为自适应CSS
Theme ID: ydbaijia
Author: guokun
Author QQ：525887672
Author Email：525887672@qq.com
Author URL: http://www.ylefu.com/
*/

#mnav{display: none;}
@media screen and (max-width: 980px) {
	.container{width: 98%;margin-left: 1%;margin-right: 1%}
	#header{height: 60px;position: fixed;top: 0;}
	
	.header .htop{display: none;}
	
	.header .logo{width: 100%;text-align: center;}
	.header .logo img{height: 45px;margin-top: 4px;}
	
	#mnav{display: block; position: absolute;top: 18px;left: 4%;cursor: pointer;}
	#search{position: absolute;top: 18px;right: 4%;margin-top: 0;}
	#search i{padding: 0;font-size: 16px; cursor: pointer;}
	
	#nav{display: none; margin: 0;position:absolute;top: 100%;left: 0;width: 100%; background-color:#F2F2F2 }
	.nav ul{margin: 20px 0;}
	.nav ul ul{display: none;}
	.nav li{float: none;display: block;padding-left: 4%;padding-right: 0;line-height: 32px;}
/*	.nav li a{color: #fff;}*/
	.nav li a:hover{color: #0047FF;padding-bottom: 2px; border-bottom: 2px solid #0047FF;}	
	/*高亮*/
	.nav .active>a{border-bottom: 2px solid #0047FF;color: #0047FF;padding-bottom: 2px;}
	
	.search{position:absolute;top: 100%;left: 0;width: 100%;height: 200px;margin-top: 0;padding: 40px 0 0; background-color:#F2F2F2}
	.search form{float: none;margin: 0 auto;}
	
	
	#main{margin-top: 60px;margin-bottom: 10px;}
	.mainleft{float: none;width: 100%;}
	.mainright{float: none;width: 100%;}
	
	#slider{width: 100%;height: 240px;margin-bottom: 10px;}
	.swiper-slide img{width: 100%;}
	
	.listpost{padding-left: 10px; padding-right: 10px;}
	.listpost li{margin-top: 10px;padding-bottom: 10px;}
	.listpost li .img{float: left;width: 140px;height: 80px;}
	.listpost li .info{margin-left: 160px;margin-top: 15px;}
	.listpost li .moreimg{margin-right: -1%;}
	.listpost li .moreimg a{width: 32%;margin-right: 1%;height: 80px;}
	.listpost li .moreimg a:nth-child(4n+0){display: none;}
	
	.listpost li .moreinfo{}
	.listpost li .moreinfo span{display: none;}
	.listpost li .moreinfo span.on{display: inline-block;}
	
	
	.post{padding: 20px 15px;}
	.post .info i{padding: 16px 3px 3px; margin-left: 10px;}
	
	
	#share .sharel{float: none;display: block;margin-bottom: 20px;}
	#share .sharer{float: none;width: 207px;margin: 0 auto;}
	
	#footer .footer{margin-top: 10px;margin-bottom: 10px;}
	.footer .fnav{display: none;}
	
	/*============广告位==============*/
	.navbottom,.sliderbottom{margin-bottom: 10px;}
}